const request = require("../utils/request");

const bannerListApi = () => request("/banner/list", "GET");
const proListApi = (data) => request("/pro/list", "GET", data);
const categorylistApi = () => request("/pro/categorylist");
const categorybrandlistApi = (data) => request("/pro/categorybrandlist", "GET", data);
const categorybrandprolistApi = (data) => request("/pro/categorybrandprolist", "GET", data);
const docheckphoneApi = (data) => request("/user/docheckphone", "POST", data);
const dosendmsgcodeApi = (data) => request("/user/dosendmsgcode", "POST", data);
const docheckcodeApi = (data) => request("/user/docheckcode", "POST", data);

module.exports = {
    bannerListApi,
    proListApi,
    categorylistApi,
    categorybrandlistApi,
    categorybrandprolistApi,
    docheckphoneApi,
    dosendmsgcodeApi,
    docheckcodeApi
}